const Sequelize = require('sequelize')
const sequelize = require('../../core/db')

module.exports = sequelize.define('user', {
    id: {
        type: Sequelize.INTEGER,
        primaryKey: true,
        autoIncrement: true
    },
    username: {
        type: Sequelize.STRING,
        primaryKey: true
    },
    password: {
        type: Sequelize.STRING
    },
    address: {
        type: Sequelize.STRING
    },
    token: {
        type: Sequelize.STRING
    },
});



